home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
001-025
/
scopedisk1
/
resident
/
resident.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-03-18
|
309b
|
16 lines
#include <exec/lists.h>
#include <exec/execbase.h>
#include <exec/resident.h>
main()
{
extern struct ExecBase *SysBase;
struct Resident **p = (struct Resident **)SysBase->ResModules;
/* Walk the list of resident modules, printing each by name */
while (*p) {
printf("%s\n",(*p)->rt_Name);
p++;
}
}